/*更换路径，因为不是行内样式了。*/

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?tomleg');
    src: url('../fonts/') format('embedded-opentype'), url('../fonts/icomoon.ttf?tomleg') format('truetype'), url('../fonts/icomoon.woff?tomleg') format('woff'), url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}


/* 版心的确定 */

.w {
    width: 1200px;
    margin: 0 auto;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.style_red {
    color: #c81623;
}


/*快捷导航模块*/

.shortcut {
    /* width: 100%; 宽度不用给，默认100%*/
    height: 30px;
    /*为了垂直居中**/
    line-height: 30px;
    background-color: #f1f1f1;
}

.shortcut ul li {
    float: left;
}


/*****将偶数的li选中，改成竖线*****/

.shortcut .fr ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    margin: 9px 15px;
    background-color: #666;
}


/**伪元素箭头**/

.arrow-icon::after {
    font-family: 'icomoon';
    content: '\e91e';
    /*伪元素也有距离*/
    margin-left: 6px;
}


/* header头部制作 */

.header {
    /*子绝父相  子为logo*/
    position: relative;
    height: 105px;
    /* background-color: pink; */
}

.logo {
    position: absolute;
    /*logo为绝对定位*/
    top: 25px;
    width: 171px;
    height: 61px;
    /* background-color: skyblue; */
}


/*在a链接的背景图片里面放入logo*/

.logo a {
    display: block;
    top: 25px;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat;
    /*a里面的元素是给搜索引擎看的，
    不用给客户看到，所以要隐藏--京东做法*/
    /* font-size: 0; */
    /*taobao做法 文字将往左边走   后加溢出隐藏*/
    text-indent: -9999px;
    overflow: hidden;
}

.search {
    position: absolute;
    left: 345px;
    top: 24px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}

.search input {
    /*input button 之间不加浮动会有缝隙，所以要加浮动*/
    float: left;
    width: 454px;
    height: 32px;
    padding-left: 10px;
}

.search button {
    float: left;
    width: 80px;
    height: 32px;
    background-color: #b1191a;
    color: #fff;
    font-size: 16px;
}

.hotworks {
    position: absolute;
    top: 66px;
    left: 346px;
}

.hotworks a {
    margin: 0 10px;
}

.shopcar {
    position: absolute;
    top: 25px;
    right: 47px;
    width: 140px;
    height: 35px;
    line-height: 35px;
    /*上下对齐*/
    text-align: center;
    /*居中对齐*/
    font-size: 12px;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
}

.shopcar::before {
    font-family: 'icomoon';
    content: '\e93a';
    margin-right: 5px;
    color: #b1191a;
}

.shopcar::after {
    font-family: 'icomoon';
    content: '\e920';
    margin-left: 10px;
}

.count {
    position: absolute;
    top: -5px;
    left: 105px;
    height: 14px;
    line-height: 14px;
    /*因为继承了上面的行高，所以必须改为14px*/
    color: #fff;
    background-color: #e60012;
    padding: 0 5px;
    border-radius: 7px 7px 7px 0;
}

.nav {
    height: 47px;
    border-bottom: 2px solid #b1191a;
}

.nav .dropdown {
    float: left;
    width: 210px;
    height: 45px;
    background-color: #b1191a;
}

.nav .navitems {
    float: left;
}

.dropdown .dt {
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    line-height: 45px;
    font-size: 16px;
}

.dropdown .dd {
    width: 210px;
    height: 465px;
    background-color: #c81623;
    margin-top: 2px;
    /********************/
    /* display: none; */
    /********************/
}

.dropdown .dd ul li {
    position: relative;
    height: 31px;
    line-height: 31px;
    margin-left: 2px;
    padding-left: 10px;
}

.dropdown .dd ul li:hover {
    background-color: #fff;
}

.dropdown .dd ul li a {
    font-size: 14px;
    color: #fff;
}


/*选中后里面的a变颜色*/

.dropdown .dd ul li:hover a {
    color: #b1191a;
}

.dropdown .dd ul li::after {
    position: absolute;
    top: 1px;
    right: 10px;
    color: #fff;
    font-family: 'icomoon';
    content: '\e920';
    font-size: 14px;
}

.navitems ul li {
    float: left;
}

.navitems ul li a {
    display: block;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    padding: 0 25px;
}


/******************底部模块的制作*****************/

.footer {
    height: 415px;
    background-color: #f5f5f5;
    padding-top: 30px;
}

.mod_service {
    height: 80px;
    border-bottom: 1px solid #ccc;
}

.mod_service ul li {
    float: left;
    width: 240px;
    height: 50px;
    /* background-color: pink; */
    padding-left: 35px;
}

.mod_service ul li h5 {
    float: left;
    width: 50px;
    height: 50px;
    background: url(../images/icons.png) no-repeat -253px -2px;
    margin-right: 8px;
}


/*********变换精灵图的图片***********/

.mod_service ul li:nth-of-type(2) h5 {
    background: url(../images/icons.png) no-repeat -255px -53px;
}

.mod_service ul li:nth-of-type(3) h5 {
    background: url(../images/icons.png) no-repeat -256px -106px;
}

.mod_service ul li:nth-of-type(4) h5 {
    background: url(../images/icons.png) no-repeat -258px -156px;
}

.mod_service ul li:nth-of-type(5) h5 {
    background: url(../images/icons.png) no-repeat -257px -208px;
}

.service_txt h4 {
    font-size: 14px;
}

.service_txt p {
    font-style: 12px;
}

.mod_help {
    height: 185px;
    border-bottom: 1px solid #ccc;
    padding-top: 20px;
    padding-left: 50px;
}

.mod_help dl {
    float: left;
    width: 184px;
}

.mod_help dl:nth-of-type(6) {
    width: 90px;
    text-align: center;
}

.mod_help dl dt {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.mod_help dl dd {
    font-size: 12px;
    color: #666;
}

.mod_copyright {
    text-align: center;
    margin-top: 20px;
}

.links {
    margin-bottom: 15px;
}

.links a {
    margin: 0 10px;
}

.copyright {
    line-height: 20px;
}